package cn.kin.pojo;

import java.util.Date;

//病历
public class MedicalRecord {
    private Integer id;//病历编号

 /*   private Integer childID;

    private Integer doctorID;*/
    
    private Child child;//幼儿对象

    private Staff doctor;//校医对象

    private String condition;//病情描述

    private String drug;//用药描述

    private Date createDate;//创建时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    
  /*  public Integer getChildID() {
        return childID;
    }

    public void setChildID(Integer childID) {
        this.childID = childID;
    }

    public Integer getDoctorID() {
        return doctorID;
    }

    public void setDoctorID(Integer doctorID) {
        this.doctorID = doctorID;
    }*/

    public Child getChild() {
		return child;
	}

	public void setChild(Child child) {
		this.child = child;
	}

	public Staff getDoctor() {
		return doctor;
	}

	public void setDoctor(Staff doctor) {
		this.doctor = doctor;
	}

	public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition == null ? null : condition.trim();
    }

    public String getDrug() {
        return drug;
    }

    public void setDrug(String drug) {
        this.drug = drug == null ? null : drug.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}